/*
 * igo: com.cctv.igo.security.dto.GroupRole.java Create On 2011-4-28 下午06:08:17 By Q-Wang
 * $Revision: 1.1 $
 */
package com.ctvit.framework.security.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * @author <a href="mailto:apeidou@gmail.com">Q-Wang</a>
 *
 */
public class GroupRole implements Serializable {

	private Long groupId;

	private Long roleId;

	private Date createTimestamp;

	private Long creator;

	public GroupRole() {
	}

	public GroupRole(Long groupId, Long roleId) {
		this.groupId = groupId;
		this.roleId = roleId;
	}

	/**
	 * @return the groupId
	 */
	public Long getGroupId() {
		return groupId;
	}

	/**
	 * @param groupId the groupId to set
	 */
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	/**
	 * @return the roleId
	 */
	public Long getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	/**
	 * @return the createTimestamp
	 */
	public Date getCreateTimestamp() {
		return createTimestamp;
	}

	/**
	 * @param createTimestamp the createTimestamp to set
	 */
	public void setCreateTimestamp(Date createTimestamp) {
		this.createTimestamp = createTimestamp;
	}

	/**
	 * @return the creator
	 */
	public Long getCreator() {
		return creator;
	}

	/**
	 * @param creator the creator to set
	 */
	public void setCreator(Long creator) {
		this.creator = creator;
	}
}
